-
Notifications
You must be signed in to change notification settings - Fork 8.4k
bluetooth: samples: Add sample showing basic channel sounding features #79499
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bluetooth: samples: Add sample showing basic channel sounding features #79499
Conversation
ce83e81 to
e2cf12c
Compare
e2cf12c to
a5bf057
Compare
2dbd244 to
2b891b4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we use qsort() from standard library to avoid O(n^2) complexity?
Not sure how much time we actually spend sorting but I think it can improve performance a bit
rugeGerritsen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sample code looks really nice and structured. Added some ideas on how to improve the documentation.
I need to get a second 54L DK so that I can start running it :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BT_HCI_LE_CS_TIME_DIFFERENCE_NOT_AVAILABLE is out of the range of int16_t tod_toa_reflector
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll change it back to uint16_t in hci_types.h (separate PR)
85e0279 to
3a3b765
Compare
|
Refactored a bit to remove the console kconfigs/interaction, based on feedback about best practice. Now initiator and reflector are in separate folders/apps and the sample runs itself automatically on boot. |
44b06dc to
68e2664
Compare
68e2664 to
2ba9145
Compare
a30074f to
2f94918
Compare
These samples demonstrate how to use the bluetooth 6.0 channel sounding APIs. A basic distance estimation algorithm is included. Signed-off-by: Olivier Lesage <[email protected]>
2f94918 to
97b62b2
Compare
Adds samples showing basic channel sounding features.
https://builds.zephyrproject.io/zephyr/pr/79499/docs/samples/bluetooth/channel_sounding/README.html